home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Very Best of Atari Inside
/
The Very Best of Atari Inside 1.iso
/
mint
/
mintmant
/
pnice.txt
< prev
next >
Wrap
Text File
|
1992-03-24
|
1KB
|
64 lines
Pnice(2) Oct. 1, 1991 Pnice(2)
NAME
Pnice - change process priority for the current process
SYNOPSIS
WORD Pnice( WORD delta );
DESCRIPTION
Pnice changes the base process niceness for the current pro-
cess by the amount delta. Higher levels of niceness
correspond to decreased priority in scheduling, so positive
values for delta cause the corresponding process to be
scheduled less often. Conversely, negative values for delta
cause the process priority to be increased.
RETURNS
The (adjusted) process priority, as a 16 bit signed integer.
0 is the default priority; values greater than 0 are for
higher priority processes (ones that are scheduled more
often), and values less than 0 are lower priority processes.
SEE ALSO
Prenice(2)
BUGS
The scheduling algorithm is pretty weird, so it's hard to
predict exactly what effect process priorities have.
Version 0.9 Last change: MiNT Programmer's Manual 1